home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / source.exe / POSIX / SH / STD / STDC / STDLIB.H < prev    next >
C/C++ Source or Header  |  1992-07-13  |  1KB  |  35 lines

  1. /* ANSI utility functions */
  2.  
  3. /* $Header: stdlib.h,v 1.1 88/03/09 21:52:59 egisin Locked $ */
  4.  
  5. #if ! _STDLIB_H
  6. #define    _STDLIB_H 1
  7.  
  8. #include <stddef.h>
  9.  
  10. double    atof ARGS((const char *s));
  11. int    atoi ARGS((const char *s));
  12. long    atol ARGS((const char *s));
  13. double    strtod ARGS((const char *s, char **));
  14. long    strtol ARGS((const char *s, char **, int base));
  15. unsigned long    strtoul ARGS((const char *s, char **, int base));
  16. int    rand ARGS((void));
  17. void    srand ARGS((unsigned int seed));
  18. Void   *malloc ARGS((size_t size));
  19. Void   *realloc ARGS((void *ptr, size_t size));
  20. Void   *calloc ARGS((size_t n, size_t size));
  21. void    free ARGS((void *ptr));
  22. void    abort ARGS((void));
  23. int    atexit ARGS((void (*func)(void)));
  24. void    exit ARGS((int status));
  25. char   *getenv ARGS((const char *name));
  26. int    system ARGS((const char *cmd));
  27. void   *bsearch ARGS ((const void *key, const void *base, size_t n, size_t size,
  28.                int (*compar)(const void *, const void *)));
  29. void   *qsort ARGS ((const void *base, size_t n, size_t size,
  30.              int (*compar)(const void *, const void *)));
  31. #define    abs(a)    ((a) < 0 : -(a) : (a))
  32.  
  33. #endif
  34.  
  35.